From 63be7ba1e28c06ccf3ae8c40df7cbe575c28f4b6 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 31 Oct 2025 01:42:01 +0000 Subject: (임수민) 로그아웃 호스트 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/auth/[...nextauth]/route.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'app/api/auth/[...nextauth]') diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index d6ec807f..be50c022 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -126,6 +126,7 @@ function getClientIP(req: any): string { } export const authOptions: NextAuthOptions = { + trustHost: true, providers: [ // ✅ OTP 로그인 - roles 정보 추가 CredentialsProvider({ -- cgit v1.2.3